<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>Hello World!</title>
    <style>
        * {
            padding: 0px;
            margin: 0px;
        }
        
        html,
        body {
            height: 100%;
        }
        
        body {
            user-select: none;
            -webkit-user-select: none;
        }
        
        .main {
            border-radius: 8px;
            background-color: rgba(150, 142, 135, 0.904);
            height: 100%;
        }
        
        #title {
            border-radius: 8px 8px 0px 0px;
            -webkit-app-region: drag;
            background-color: lightblue;
            height: 50px;
            vertical-align: middle;
            line-height: 50px;
            font-weight: bold;
            padding-left: 10px;
        }
    </style>
    <script>
        window.nodeReuire = require;
        delete window.require;
        delete window.exports;
        delete window.module;
    </script>
    <link id="MainCss" type="text/css" rel="stylesheet" href="./node_modules/" />
    <script src="./node_modules/jquery/dist/jquery.js"></script>
    <script src="./node_modules/layui-layer/dist/layer.js"></script>
</head>

<body>

    <div class="main">
        <div id="title">标题</div>
        <h1>Hello World!</h1>
        <!-- All of the Node.js APIs are available in this renderer process. -->
        We are using Node.js
        <script>
            document.write(process.versions.node)
        </script>, Chromium
        <script>
            document.write(process.versions.chrome)
        </script>, and Electron
        <script>
            document.write(process.versions.electron)
        </script>.

        <script src="./app/js/index.js">
            // You can also require other files to run in this process
            nodeReuire('./renderer.js')
        </script>
    </div>
</body>

</html>